<?php
	require_once("editPublishedPaper.php");
?>
<html>
<body>
<?php 
	if($browser_info->permission=='visitor'){
		?>
		<p>呃呃，你没访问此页面的权限...</p>
		<?php
		exit;
	}
	$browser_info->published_paper_order=getSelectedOrderFromWeb();
?>
<br/>
<br/>
<br/>
<br/>
<form action="" method="post">
	<b>选择排序规则</b>(默认情况下我们会以第一作者在前排序):<br/><br/><br/>
	<select name="paper_order_type">
		<option value="5" <?php echo empty($browser_info->published_paper_order)?"selected='true'":"";?>>默认</option>
		<option value="1" <?php echo strstr($browser_info->published_paper_order,"发表时间  DESC")?"selected='true'":"";?>>最新发表在前</option>
		<option value="2" <?php echo strstr($browser_info->published_paper_order,"发表时间  ASC")?"selected='true'":"";?>>较早发表在前</option>
		<!-- <option value="3" <?php echo strstr($browser_info->published_paper_order,"标题    ASC")?"selected='true'":"";?>>标题[A-Z]</option>
		<option value="4" <?php echo strstr($browser_info->published_paper_order,"标题   DESC")?"selected='true'":"";?>>标题[Z-A]</option> -->
		<option value="3" <?php echo strstr($browser_info->published_paper_order,"期刊会议名    ASC")?"selected='true'":"";?>>期刊会议名</option>
	</select>
	<input type="submit" value="保存">
</form>
<?php disOnWeb($browser_info->name,$browser_info->published_paper_order);?>
</body>
</html>